<notempty name="tree">
<volist name="tree" id="list" >
	<dl class="cate-item">
		<dt class="cf">
			<form action="{:U('editCategory')}" method="post">
				<div class="opt-btn cf">
					<a title="{$list.status|show_status_op}" href="{:U('setCategoryStatus?activity_category_id='.$list['activity_category_id'].'&status='.abs(1-$list['status']))}" class="ajax-get"><neq name="list['status']" value="0"><i class="icon-lock"></i> 禁用</neq><neq name="list['status']" value="1"><i class="icon-unlock"></i> 启用</neq></a>　<a title="编辑" href="{:U('editCategory?activity_category_id='.$list['activity_category_id'].'&parent_id='.$list['parent_id'])}"><i class="icon-pencil"></i> 编辑</a>　
			<!-- 		
				<a title="删除" href="{:U('setCategoryStatus?activity_category_id='.$list['activity_category_id'].'&status=-1')}" class="confirm ajax-get"><i class="icon-remove"></i> 删除</a>
				 -->
				</div>
				<div class="fold"><i></i></div>
				<div class="order"><input type="text" name="sort" class="text input-mini" value="{$list.sort}"></div>
				<div class="time">{:date("Y-m-d H:i:s",$list['create_time'])}</div>
				<div class="admin">{$list.uid|getUserName}</div>
				<div class="name">
					<span class="tab-sign"></span>
					<input type="hidden" name="activity_category_id" value="{$list.activity_category_id}">
					<input type="text" name="category_name" class="text" value="{$list.category_name}">
					<!-- <if condition="$list.level lt 3">
						<a class="add-sub-cate" title="添加子分类" href="{:U('addCategory?parent_id='.$list['activity_category_id'])}"><i class="icons-add"></i></a>
					</if> -->
					<span class="help-inline msg"></span>
				</div>
			</form>
		</dt>
		<notempty name="list['_']">
			<dd>
				{:R('Activity/tree', array($list['_']))}
			</dd>
		</notempty>
	</dl>
</volist>
<else/>
	<dl class="cate-item">
		<dt class="cf">
			<div class="empty-div"> Oh~亲爱滴,暂时还没有内容!</div>
		</dt>
	</dl>
</notempty>